-
Notifications
You must be signed in to change notification settings - Fork 25
Add socket manifest <lang>
including scala as first lang
#311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socket sbom
command and socket sbom scala
socket sbom <lang>
including scala as first lang
socket sbom <lang>
including scala as first langsocket manifest <lang>
including scala as first lang
jdalton
reviewed
Feb 6, 2025
jdalton
reviewed
Feb 7, 2025
jdalton
approved these changes
Feb 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This will add a new command to the socket npm cli:
socket manifest <language>
, and the first language:socket manifest scala
.Naming is hard, I think
manifest
is most apt, short, and to the point: it creates a dependency manifest.The command is meant to support things that we currently can't support server side (and also not supported through cyclone (cdxgen)) and which has to run on the client machine.
First candidate is Scala,
sbt
in particular. Since we can't easily find dependencies through static analysis and cyclone doesn't really support it properly, thissocket manifest scala
command would be a wrapper to generate a dependency manifest by levering the (almost guaranteed to exist) localsbt
setup.There's also a
socket manifest auto
which tries to detect the proper sub command to execute with default parameters.exec
forspawn
sbom
tomanifest
, unless a better name comes up